package com.xcdh.trading.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xcdh.trading.entity.TempStocks;
import com.xcdh.trading.mapper.TempStocksMapper;
import com.xcdh.trading.service.TempStocksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class TempStocksServiceImpl extends ServiceImpl<TempStocksMapper, TempStocks> implements TempStocksService {
    @Autowired
    private TempStocksMapper tempStocksMapper ;
    @Override
    public void deleteAll() {
        tempStocksMapper.deleteByMap( new HashMap<>()) ;
    }
}
